MultiSafepay\WooCommerce\Services\ShoppingCartService S

Total Complexity 33
Dependencies 12
Dependents 1
Total lines 233
Lines of code 135
Logical lines of code 78
Comment lines 62
Methods 9
Properties 0

Methods 9

Method Rating Maintainability Complexity Lines of code
create_shopping_cart()
A
49 9 29
get_item_tax_rate()
S
52 6 25
get_shipping_tax_rate()
S
56 5 18
get_fee_tax_rate()
S
56 5 18
create_cart_item()
S
56 3 16
is_order_vat_exempt()
S
70 2 6
create_shipping_cart_item()
S
67 1 7
create_fee_cart_item()
S
66 1 8
create_coupon_cart_item()
S
66 1 8